package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.db.pojo.HreNationality;
import com.edu.hre.db.pojo.HreUserRole;

public class EmployeeAddForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6056273106708257020L;

	private Integer empNumber;
    private String empFirstname = "";
    private String empLastname = "";
    private String empMiddleName = "";
    private String idCardNumber = "";
    private boolean status = true;
    private String password = "";
    private String confirmPassword = "";
    private int userRoleId = 0;
    private FormFile image = null; 
    
    private List<LabelValueBean> allStatuses = new ArrayList<LabelValueBean>();
    private List<LabelValueBean> allUserRoles = new ArrayList<LabelValueBean>();

    private boolean isAddNew = true;
    private String message = "";
    
	public Integer getEmpNumber() {
		return empNumber;
	}

	public void setEmpNumber(Integer empNumber) {
		this.empNumber = empNumber;
	}

	public String getEmpFirstname() {
		return empFirstname;
	}

	public void setEmpFirstname(String empFirstname) {
		this.empFirstname = empFirstname;
	}

	public String getEmpLastname() {
		return empLastname;
	}

	public void setEmpLastname(String empLastname) {
		this.empLastname = empLastname;
	}

	public String getEmpMiddleName() {
		return empMiddleName;
	}

	public void setEmpMiddleName(String empMiddleName) {
		this.empMiddleName = empMiddleName;
	}

	public String getIdCardNumber() {
		return idCardNumber;
	}

	public void setIdCardNumber(String idCardNumber) {
		this.idCardNumber = idCardNumber;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	public List<LabelValueBean> getAllStatuses() {
		return allStatuses;
	}

	public void setAllStatuses(List<LabelValueBean> allStatuses) {
		this.allStatuses = allStatuses;
	}

	public int getUserRoleId() {
		return userRoleId;
	}

	public void setUserRoleId(int userRoleId) {
		this.userRoleId = userRoleId;
	}

	public List<LabelValueBean> getAllUserRoles() {
		return allUserRoles;
	}

	public void setAllUserRoles(List<LabelValueBean> allUserRoles) {
		this.allUserRoles = allUserRoles;
	}

	public FormFile getImage() {
		return image;
	}

	public void setImage(FormFile image) {
		this.image = image;
	}
}
